package com.xgk.boot.module.core.logistics.service.mothership.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

@Data
public class AddressDto {

    public AddressDto(String street, String city, String state, String zip) {
        this.street = street;
        this.city = city;
        this.state = state;
        this.zip = zip;
    }

    // 详细地址
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String street;

    // 街道附加信息
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String subStreet;

    // 城市
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String city;

    // 州
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String state;


    // 邮政编码 Required
    private String zip;


}
